<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>STAPpp: CBar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">STAPpp
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">STAPpp is a C++ finite element method (FEM) code whose input/output data files are the same as STAP90.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_c_bar-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CBar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Bar element class.  
 <a href="class_c_bar.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_bar_8h_source.html">Bar.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CBar:</div>
<div class="dyncontent">
<div class="center"><img src="class_c_bar__inherit__graph.png" border="0" usemap="#_c_bar_inherit__map" alt="Inheritance graph"/></div>
<map name="_c_bar_inherit__map" id="_c_bar_inherit__map">
<area shape="rect" id="node2" href="class_c_element.html" title="Element base class. " alt="" coords="5,5,85,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for CBar:</div>
<div class="dyncontent">
<div class="center"><img src="class_c_bar__coll__graph.png" border="0" usemap="#_c_bar_coll__map" alt="Collaboration graph"/></div>
<map name="_c_bar_coll__map" id="_c_bar_coll__map">
<area shape="rect" id="node2" href="class_c_element.html" title="Element base class. " alt="" coords="70,92,150,117"/>
<area shape="rect" id="node3" href="class_c_material.html" title="Material base class which only define one data member. " alt="" coords="5,5,84,31"/>
<area shape="rect" id="node4" href="class_c_node.html" title="Node class. " alt="" coords="144,5,207,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4ff7c5318a3074711f3f3f0ca0fac5ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a4ff7c5318a3074711f3f3f0ca0fac5ce">CBar</a> ()</td></tr>
<tr class="memdesc:a4ff7c5318a3074711f3f3f0ca0fac5ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a4ff7c5318a3074711f3f3f0ca0fac5ce">More...</a><br /></td></tr>
<tr class="separator:a4ff7c5318a3074711f3f3f0ca0fac5ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a865d1a3e4e88c240a81922aed4aa0d81"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a865d1a3e4e88c240a81922aed4aa0d81">~CBar</a> ()</td></tr>
<tr class="memdesc:a865d1a3e4e88c240a81922aed4aa0d81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desconstructor.  <a href="#a865d1a3e4e88c240a81922aed4aa0d81">More...</a><br /></td></tr>
<tr class="separator:a865d1a3e4e88c240a81922aed4aa0d81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dab4ce4b4dc467b77a673d515973a80"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a9dab4ce4b4dc467b77a673d515973a80">Read</a> (ifstream &amp;Input, unsigned int Ele, <a class="el" href="class_c_material.html">CMaterial</a> *MaterialSets, <a class="el" href="class_c_node.html">CNode</a> *NodeList)</td></tr>
<tr class="memdesc:a9dab4ce4b4dc467b77a673d515973a80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read element data from stream Input.  <a href="#a9dab4ce4b4dc467b77a673d515973a80">More...</a><br /></td></tr>
<tr class="separator:a9dab4ce4b4dc467b77a673d515973a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4231decc59a5caec261a489812677c4a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a4231decc59a5caec261a489812677c4a">Write</a> (ofstream &amp;OutputFile, unsigned int Ele)</td></tr>
<tr class="memdesc:a4231decc59a5caec261a489812677c4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write element data to stream OutputFile.  <a href="#a4231decc59a5caec261a489812677c4a">More...</a><br /></td></tr>
<tr class="separator:a4231decc59a5caec261a489812677c4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ccef3010d999490d3a8f5da0e800b19"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a8ccef3010d999490d3a8f5da0e800b19">GenerateLocationMatrix</a> ()</td></tr>
<tr class="memdesc:a8ccef3010d999490d3a8f5da0e800b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate location matrix: the global equation number that corresponding to each DOF of the element.  <a href="#a8ccef3010d999490d3a8f5da0e800b19">More...</a><br /></td></tr>
<tr class="separator:a8ccef3010d999490d3a8f5da0e800b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab586c0c08205751b7be49301ece8aafb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#ab586c0c08205751b7be49301ece8aafb">ElementStiffness</a> (double *Matrix)</td></tr>
<tr class="memdesc:ab586c0c08205751b7be49301ece8aafb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate element stiffness matrix.  <a href="#ab586c0c08205751b7be49301ece8aafb">More...</a><br /></td></tr>
<tr class="separator:ab586c0c08205751b7be49301ece8aafb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79ba6f2b35bb048398ca1d620c440d19"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a79ba6f2b35bb048398ca1d620c440d19">ElementStress</a> (double *stress, double *Displacement)</td></tr>
<tr class="memdesc:a79ba6f2b35bb048398ca1d620c440d19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate element stress.  <a href="#a79ba6f2b35bb048398ca1d620c440d19">More...</a><br /></td></tr>
<tr class="separator:a79ba6f2b35bb048398ca1d620c440d19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd3587269e0194f9b8a0cc689bfc0c8"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bar.html#a7cd3587269e0194f9b8a0cc689bfc0c8">SizeOfStiffnessMatrix</a> ()</td></tr>
<tr class="memdesc:a7cd3587269e0194f9b8a0cc689bfc0c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the element stiffness matrix (stored as an array column by column)  <a href="#a7cd3587269e0194f9b8a0cc689bfc0c8">More...</a><br /></td></tr>
<tr class="separator:a7cd3587269e0194f9b8a0cc689bfc0c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_element"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_element')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_c_element.html">CElement</a></td></tr>
<tr class="memitem:a1bea8a7fd6a8c1529b7bd41f34bd8edf inherit pub_methods_class_c_element"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a1bea8a7fd6a8c1529b7bd41f34bd8edf">CElement</a> ()</td></tr>
<tr class="memdesc:a1bea8a7fd6a8c1529b7bd41f34bd8edf inherit pub_methods_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_c_element.html#a1bea8a7fd6a8c1529b7bd41f34bd8edf">More...</a><br /></td></tr>
<tr class="separator:a1bea8a7fd6a8c1529b7bd41f34bd8edf inherit pub_methods_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0539a65dd0f7900d5c4b5e9cd1df8abb inherit pub_methods_class_c_element"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a0539a65dd0f7900d5c4b5e9cd1df8abb">CalculateColumnHeight</a> (unsigned int *ColumnHeight)</td></tr>
<tr class="memdesc:a0539a65dd0f7900d5c4b5e9cd1df8abb inherit pub_methods_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the column height, used with the skyline storage scheme.  <a href="class_c_element.html#a0539a65dd0f7900d5c4b5e9cd1df8abb">More...</a><br /></td></tr>
<tr class="separator:a0539a65dd0f7900d5c4b5e9cd1df8abb inherit pub_methods_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02a121c629f5b4d4d508cb8c0a4aed3 inherit pub_methods_class_c_element"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#ad02a121c629f5b4d4d508cb8c0a4aed3">assembly</a> (double *Matrix, <a class="el" href="class_c_skyline_matrix.html">CSkylineMatrix</a>&lt; double &gt; *StiffnessMatrix)</td></tr>
<tr class="memdesc:ad02a121c629f5b4d4d508cb8c0a4aed3 inherit pub_methods_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble the element stiffness matrix to the global stiffness matrix.  <a href="class_c_element.html#ad02a121c629f5b4d4d508cb8c0a4aed3">More...</a><br /></td></tr>
<tr class="separator:ad02a121c629f5b4d4d508cb8c0a4aed3 inherit pub_methods_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a13dc46d9eba3a1ecf2677da7d45465 inherit pub_methods_class_c_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_node.html">CNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a9a13dc46d9eba3a1ecf2677da7d45465">GetNodes</a> ()</td></tr>
<tr class="memdesc:a9a13dc46d9eba3a1ecf2677da7d45465 inherit pub_methods_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return nodes of the element.  <a href="class_c_element.html#a9a13dc46d9eba3a1ecf2677da7d45465">More...</a><br /></td></tr>
<tr class="separator:a9a13dc46d9eba3a1ecf2677da7d45465 inherit pub_methods_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c3aa0155a858d271530a462612aad9c inherit pub_methods_class_c_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a9c3aa0155a858d271530a462612aad9c">GetElementMaterial</a> ()</td></tr>
<tr class="memdesc:a9c3aa0155a858d271530a462612aad9c inherit pub_methods_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return material of the element.  <a href="class_c_element.html#a9c3aa0155a858d271530a462612aad9c">More...</a><br /></td></tr>
<tr class="separator:a9c3aa0155a858d271530a462612aad9c inherit pub_methods_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_c_element"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_c_element')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_c_element.html">CElement</a></td></tr>
<tr class="memitem:ad098d15aca943b13da14ec88fba7aaa5 inherit pro_attribs_class_c_element"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#ad098d15aca943b13da14ec88fba7aaa5">NEN</a></td></tr>
<tr class="memdesc:ad098d15aca943b13da14ec88fba7aaa5 inherit pro_attribs_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of nodes per element.  <a href="class_c_element.html#ad098d15aca943b13da14ec88fba7aaa5">More...</a><br /></td></tr>
<tr class="separator:ad098d15aca943b13da14ec88fba7aaa5 inherit pro_attribs_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a049aa63089d5133dbf97b9fe8b45986b inherit pro_attribs_class_c_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_node.html">CNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a049aa63089d5133dbf97b9fe8b45986b">nodes</a></td></tr>
<tr class="memdesc:a049aa63089d5133dbf97b9fe8b45986b inherit pro_attribs_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nodes of the element.  <a href="class_c_element.html#a049aa63089d5133dbf97b9fe8b45986b">More...</a><br /></td></tr>
<tr class="separator:a049aa63089d5133dbf97b9fe8b45986b inherit pro_attribs_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a066cabbbfda053188bf43e11794581 inherit pro_attribs_class_c_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a2a066cabbbfda053188bf43e11794581">ElementMaterial</a></td></tr>
<tr class="memdesc:a2a066cabbbfda053188bf43e11794581 inherit pro_attribs_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Material of the element.  <a href="class_c_element.html#a2a066cabbbfda053188bf43e11794581">More...</a><br /></td></tr>
<tr class="separator:a2a066cabbbfda053188bf43e11794581 inherit pro_attribs_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affc6f37cca3dcee2432f8525c28727ee inherit pro_attribs_class_c_element"><td class="memItemLeft" align="right" valign="top">unsigned int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#affc6f37cca3dcee2432f8525c28727ee">LocationMatrix</a></td></tr>
<tr class="memdesc:affc6f37cca3dcee2432f8525c28727ee inherit pro_attribs_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Location Matrix of the element.  <a href="class_c_element.html#affc6f37cca3dcee2432f8525c28727ee">More...</a><br /></td></tr>
<tr class="separator:affc6f37cca3dcee2432f8525c28727ee inherit pro_attribs_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c23c9c0a89413a25271ef4228c3cc56 inherit pro_attribs_class_c_element"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a1c23c9c0a89413a25271ef4228c3cc56">ND</a></td></tr>
<tr class="memdesc:a1c23c9c0a89413a25271ef4228c3cc56 inherit pro_attribs_class_c_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dimension of the location matrix.  <a href="class_c_element.html#a1c23c9c0a89413a25271ef4228c3cc56">More...</a><br /></td></tr>
<tr class="separator:a1c23c9c0a89413a25271ef4228c3cc56 inherit pro_attribs_class_c_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Bar element class. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4ff7c5318a3074711f3f3f0ca0fac5ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ff7c5318a3074711f3f3f0ca0fac5ce">&#9670;&nbsp;</a></span>CBar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CBar::CBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a id="a865d1a3e4e88c240a81922aed4aa0d81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a865d1a3e4e88c240a81922aed4aa0d81">&#9670;&nbsp;</a></span>~CBar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CBar::~CBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Desconstructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab586c0c08205751b7be49301ece8aafb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab586c0c08205751b7be49301ece8aafb">&#9670;&nbsp;</a></span>ElementStiffness()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CBar::ElementStiffness </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>Matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate element stiffness matrix. </p>

<p>Implements <a class="el" href="class_c_element.html#a38819c5277adf30f3f3169bec91261f6">CElement</a>.</p>

</div>
</div>
<a id="a79ba6f2b35bb048398ca1d620c440d19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79ba6f2b35bb048398ca1d620c440d19">&#9670;&nbsp;</a></span>ElementStress()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CBar::ElementStress </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>stress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>Displacement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate element stress. </p>

<p>Implements <a class="el" href="class_c_element.html#a84cfab06e5f4d3a1e3732170b84e6e0e">CElement</a>.</p>

</div>
</div>
<a id="a8ccef3010d999490d3a8f5da0e800b19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ccef3010d999490d3a8f5da0e800b19">&#9670;&nbsp;</a></span>GenerateLocationMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CBar::GenerateLocationMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Generate location matrix: the global equation number that corresponding to each DOF of the element. </p>

<p>Implements <a class="el" href="class_c_element.html#a1d8c19d556504af95f80061a9ee2e7dd">CElement</a>.</p>

</div>
</div>
<a id="a9dab4ce4b4dc467b77a673d515973a80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dab4ce4b4dc467b77a673d515973a80">&#9670;&nbsp;</a></span>Read()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CBar::Read </td>
          <td>(</td>
          <td class="paramtype">ifstream &amp;&#160;</td>
          <td class="paramname"><em>Input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>Ele</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td>
          <td class="paramname"><em>MaterialSets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_node.html">CNode</a> *&#160;</td>
          <td class="paramname"><em>NodeList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read element data from stream Input. </p>

<p>Implements <a class="el" href="class_c_element.html#a9e84fbf9db78de66c9fd19c0c65b8fb7">CElement</a>.</p>

</div>
</div>
<a id="a7cd3587269e0194f9b8a0cc689bfc0c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cd3587269e0194f9b8a0cc689bfc0c8">&#9670;&nbsp;</a></span>SizeOfStiffnessMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int CBar::SizeOfStiffnessMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the size of the element stiffness matrix (stored as an array column by column) </p>

<p>Implements <a class="el" href="class_c_element.html#a4c744d5e8b55ad96f3adbfbe14a6e8cc">CElement</a>.</p>

</div>
</div>
<a id="a4231decc59a5caec261a489812677c4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4231decc59a5caec261a489812677c4a">&#9670;&nbsp;</a></span>Write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CBar::Write </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>OutputFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>Ele</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write element data to stream OutputFile. </p>

<p>Implements <a class="el" href="class_c_element.html#a3e58a659dcc2f9f676effa3453ad4e8d">CElement</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/Users/xzhang/git/FEM-Projects/STAPpp/src/h/<a class="el" href="_bar_8h_source.html">Bar.h</a></li>
<li>/Users/xzhang/git/FEM-Projects/STAPpp/src/cpp/<a class="el" href="_bar_8cpp.html">Bar.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
